package DAO;

import java.util.List;

import model.Relation;

public interface RelationDAO {

	public boolean insert(Relation relation) throws Exception;
	public boolean delete(int id) throws Exception;
	public boolean deleteAll() throws Exception;
	public Relation  find(int id) throws Exception;
	public Relation  find(String description) throws Exception;
	public boolean update(Relation relation) throws Exception;
	public List<Relation> list(int noi) throws Exception;
	
}
